package admin

import database "hft/Database"

type Btn struct {
	database.Base
	BtnTag   string `json:"btnTag,omitempty" gorm:"index;unique;not null;type:varchar(30);size:30"`
	BtnName  string `json:"btnName,omitempty" gorm:"not null"`
	Remark   string `json:"remark"`
	BtnGroup string `json:"btnGroup,omitempty" gorm:"not null"`
}

func (Btn) TableName() string {
	return database.TableNameFormat("btns")
}
